package com.hs.zhou.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xudongzhou
 * @since 2022-06-20
 */
@Getter
@Setter
@TableName("t_bill_statement")
public class BillStatement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    @TableField("bill_statement_no")
    private String billStatementNo;

    @TableField("customer_name")
    private String customerName;

    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;

    @TableField("order_number")
    private Integer orderNumber;

    @TableField("total_receive")
    private Float totalReceive;

    @TableField("status")
    private Integer status;

    @Override
    public String toString() {
        return "BillStatement{" +
                "id=" + id +
                ", billStatementNo=" + billStatementNo +
                ", customerName='" + customerName + '\'' +
                ", createTime=" + createTime +
                ", orderNumber=" + orderNumber +
                ", totalReceive=" + totalReceive +
                '}';
    }
}
